package com.panda.web.entity.py;

import java.math.BigDecimal;

import com.panda.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 地区对象 area
 *
 * @author cpanda
 * @date 2025-02-27
 */
@Data
//@JsonInclude(JsonInclude.Include.NON_NULL)
@TableName(value = "area")
public class Area {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Excel(name = "名称")
    private String name;

    @Excel(name = "上级代码")
    private String parentCode;

    @Excel(name = "当前代码")
    private String value;

    @Excel(name = "标签")
    private String label;

    @Excel(name = "首字母")
    private String first;

    @Excel(name = "中文拼写")
    private String pinyin;

    @Excel(name = "精度")
    private BigDecimal lng;

    @Excel(name = "维度")
    private BigDecimal lat;

    private Integer isRepeat;

    private Integer isSpecial;

}
